<!--%import("filter/insert_resource.xml")-->

<!--#include("_header.html")-->

<form action="./" method="post" onsubmit="return procFilter(this, insert_resource)" enctype="multipart/form-data">
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="module_srl" value="{$module_info->module_srl}" />
<div class="table">
	<table width="100%" border="1" cellspacing="0">
		
		<!--@if($logged_info->is_admin!='Y')-->
		<input type="hidden" name="mid" value="{$module_info->mid}" />
		<!--@else-->
		<tr>
			<th scope="row">{$lang->mid}</th>
			<td>
				<input type="text" name="mid" value="{$module_info->mid}" />
				<p>{$lang->about_mid}</p>
				</td>
			</tr>
		<!--@end-->
		<tr>
			<th scope="row">{$lang->module_category}</th>
			<td>
				<select name="module_category_srl">
					<option value="0">{$lang->notuse}</option>
					<!--@foreach($module_category as $key => $val)-->
					<option value="{$key}" <!--@if($module_info->module_category_srl==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
					<!--@end-->
					</select>
				<p>{$lang->about_module_category}</p>
				</td>
			</tr>
		
		<tr>
			<th scope="row">{$lang->browser_title}</th>
			<td>
				<input type="text" name="browser_title" value="{htmlspecialchars($module_info->browser_title)}"  id="browser_title"/>
				<a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','browser_title')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
				<p>{$lang->about_browser_title}</p>
				</td>
			</tr>
		
		<tr>
			<th scope="row">{$lang->layout}</th>
			<td>
				<select name="layout_srl">
					<option value="0">{$lang->notuse}</option>
					<!--@foreach($layout_list as $key => $val)-->
					<option value="{$val->layout_srl}" <!--@if($module_info->layout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
					<!--@end-->
					</select>
				<p>{$lang->about_layout}</p>
				</td>
			</tr>
		<tr>
			<th scope="row">{$lang->skin}</th>
			<td>
				<select name="skin">
					<!--@foreach($skin_list as $key=>$val)-->
					<option value="{$key}" <!--@if($module_info->skin==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
					<!--@end-->
					</select>
				<p>{$lang->about_skin}</p>
				</td>
			</tr>
		<tr>
			<th scope="row">{$lang->mobile_view}</th>
			<td>
				<input type="checkbox" name="use_mobile" value="Y" <!--@if($module_info->use_mobile == "Y")-->checked="checked"<!--@end--> />
				<p>{$lang->about_mobile_view}</p>
				</td>
			</tr>
		<tr>
			<th scope="row">{$lang->mobile_layout}</th>
			<td>
				<select name="mlayout_srl">
					<option value="0">{$lang->notuse}</option>
					<!--@foreach($mlayout_list as $key => $val)-->
					<option value="{$val->layout_srl}" <!--@if($module_info->mlayout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
					<!--@end-->
					</select>
				<p>{$lang->about_layout}</p>
				</td>
			</tr>
		<tr>
			<th scope="row">{$lang->mobile_skin}</th>
			<td>
				<select name="mskin">
					<!--@foreach($mskin_list as $key=>$val)-->
					<option value="{$key}" <!--@if($module_info->mskin==$key ||(!$module_info->mskin && $key=='default'))-->selected="selected"<!--@end-->>{$val->title}</option>
					<!--@end-->
					</select>
				<p>{$lang->about_skin}</p>
				</td>
			</tr>
		<tr>
			<th scope="row">{$lang->resource_use_path}</th>
			<td>
				<input type="checkbox" name="resource_use_path" value="Y" <!--@if($module_info->resource_use_path=='Y')-->checked="checked"<!--@end--> />
				<p>{$lang->about_resource_use_path}</p>
				</td>
			</tr>
		<tr>
			<th scope="row">{$lang->list_count}</th>
			<td>
				<input type="text" name="list_count" value="{$module_info->list_count?$module_info->list_count:20}"   />
				<p>{$lang->about_list_count}</p>
				</td>
			</tr>
		<tr>
			<th scope="row">{$lang->resource_notify_mail}</th>
			<td>
				<input type="text" name="resource_notify_mail" value="{htmlspecialchars($module_info->resource_notify_mail)}"  />
				<p>{$lang->about_resource_notify_mail}</p>
				</td>
			</tr>
		<tr>
			<th scope="row">{$lang->description}</th>
			<td>
				<textarea name="description">{htmlspecialchars($module_info->description)}</textarea>
				<p>{$lang->about_description}</p>
				</td>
			</tr>
		<tr>
			<th scope="row">{$lang->header_text}</th>
			<td>
				<textarea name="header_text" id="header_text">{htmlspecialchars($module_info->header_text)}</textarea>
				<a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','header_text')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
				<p>{$lang->about_header_text}</p>
				</td>
			</tr>
		<tr>
			<th scope="row">{$lang->footer_text}</th>
			<td>
				<textarea name="footer_text" id="footer_text">{htmlspecialchars($module_info->footer_text)}</textarea>
				<a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','footer_text')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
				<p>{$lang->about_footer_text}</p>
				</td>
			</tr>
	</table>
</div>
<div class="btnArea">
	<span class="btn"><input type="submit" value="{$lang->cmd_registration}" /></span>
	<span class="btn"><input type="button" value="{$lang->cmd_back}" onclick="history.back(); return false;" /></span>
</div>
</form>
